<template>
	<view class="productname" :style="{minHeight: wHeight + 'px' }">
		<view class="productname-top">
			<image src="/static/image/banner.png" mode=""></image>
		</view>
		<view class="productname-cent">
			<view class="productname-name">
				<image src="/static/image/icon-zhuang.png" mode=""></image>
				<text>产品介绍</text>
			</view>
			<view class="productname-merchant" @click="productbusiness">
				<text>产品商家</text>
			</view>
		</view>
		<view class="productname-introduce">
			<text>产品介绍产品介绍产品介绍产品介绍产品介绍产品介绍</text>
		</view>
		<view class="productname-bottom">
			<text>联系我们</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				wHeight: '',
			}
		},
		onLoad() {
			this.wHeight = this.$store.state.ContentHeight - 48;
		},
		methods:{
			productbusiness(){
				uni.navigateTo({
					url:'/pages/public/productbusiness'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.productname {
		position: relative;
		.productname-top {
			display: flex;
			justify-content: center;
			image {
				width: 749rpx;
				height: 367rpx;
			}
		}

		.productname-cent {
			width: 670rpx;
			display: flex;
			margin: 0 auto;
			margin-top: 30rpx;
			justify-content: space-between;
			position: relative;

			.productname-name {
				image {
					width: 28rpx;
					height: 28rpx;
					position: absolute;
					margin-top: 20rpx;
					margin-left: -10rpx;
				}

				text {
					font-size: 37rpx;
					font-family: Source Han Sans CN;
					font-weight: 500;
					color: #000000;
				}
			}

			.productname-merchant {
				width: 147rpx;
				height: 52rpx;
				background: #0099FF;
				border-radius: 26rpx;
				text-align: center;

				text {
					line-height: 52rpx;
					font-size: 27rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #FFFFFF;
				}
			}
		}
		.productname-introduce {
			width: 670rpx;
			height: 78rpx;
			margin: 0 auto;
			margin-top: 30rpx;
			text-indent: 2em;
			text {
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #666666;
				line-height: 48rpx;
			}
		}
		.productname-bottom{
			width: 686rpx;
			height: 98rpx;
			background: #0099FF;
			border-radius: 13rpx;
			text-align: center;
			line-height: 98rpx;
			position: absolute;
			bottom: 100rpx;
			left:50%;
			transform:translate(-50%,-50%);
			text{
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: 500;
				color: #FFFFFF;
			}
		}
	}
</style>
